<%-------------------------------------------------------------------
 * 页面名称：innerCollect_2.jsp
 * 功能描述：网上收款确认
 * Action: 
 *
 *-------------------------------------------------------------------
--%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="struts-html.tld" prefix="html"%>
<%@ taglib uri="struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="struts-logic.tld" prefix="logic"%>
<%@ taglib uri="struts-bean.tld" prefix="bean"%>
<%@ taglib prefix="ad" uri="agiledata"%>
<%
String path = request.getContextPath();
%>
<script language="JavaScript" type="text/JavaScript">
function dosubmit(){
	var formObj = document.forms[0];
	if(checkNecessaryInput(formObj)){
		formObj.submit();
	}
}
function doback(){
	document.forms[0].step.value = "0";
	document.forms[0].target = "_self";
	document.forms[0].submit();
}
</script>
<div id="main">
	<div class="content_right">
		<div style="width:745px;margin-left:10px;">
			<div class="titleinfo">
				网上收款
			</div>
			<div class="edit_pass">
				<table width="100%" border="0" align="center" cellpadding="5"
					cellspacing="0" class="blueborder">
					<html:form action="innerCollect" method="post">
						<html:hidden property="step" />
						<logic:notEmpty name="debitAccount" property="name">
							<!--被收款方名称 -->
							<tr>
								<td width="50%" align="right" height="35px;">
									被收款方名称：
								</td>
								<td width="50%" class="fontgraydrop14" height="35px;">
									<bean:write name="debitAccount" property="name" />
								</td>
							</tr>
						</logic:notEmpty>
						<!--被收款方Email/手机 -->
						<tr>
							<td align="right" height="35px;">
								被收款方Email/手机：
							</td>
							<td class="fontgraydrop14" height="35px;">
								<html:hidden property="debit" write="true" />
							</td>
						</tr>
						<!--收款子账户 -->
						<tr>
							<td align="right" height="35px;">
								收款子账户：
							</td>
							<td class="fontgraydrop14" height="35px;">
								<bean:write name="subAccount" property="accountName" />
								<html:hidden property="creditSubAccountId" />
							</td>
						</tr>
						<!--收款子账户当前余额  -->
						<tr>
							<td align="right" height="35px;">
								收款子账户当前余额：
							</td>
							<td class="fontgraydrop14" height="35px;">
								<span id="debitSubAccountBalanceSpan" class="orangefont14b">
									<ad:FormatPrase>
										<bean:write name="subAccount"
											property="accountBalance.balance" />
									</ad:FormatPrase> </span> 元
							</td>
						</tr>
						<!--收款金额  -->
						<tr>
							<td align="right" height="35px;">
								收款金额：
							</td>
							<td class="fontgraydrop14" height="35px;">
								<span class="orangefont14b"> <bean:parameter id="amount"
										name="amount" /> <ad:FormatPrase>
										<bean:write name="amount" />
									</ad:FormatPrase> </span> 元
								<html:hidden property="amount" />
							</td>
						</tr>
						<!--手续费用  -->
						<tr>
							<td align="right" height="35px;">
								手续费用：
							</td>
							<td class="fontgraydrop14" height="35px;">
								<span class="orangefont14b"> <logic:present
										parameter="fee">
										<bean:parameter id="fee" name="fee" />
									</logic:present> <ad:FormatPrase>
										<bean:write name="fee" />
									</ad:FormatPrase> </span>元
								<input type="hidden" name="fee" value="<bean:write name="fee"/>" />
							</td>
						</tr>
						<!--交易模式 -->
						<tr>
							<td align="right" height="35px;">
								交易模式：
							</td>
							<td class="fontgraydrop14" height="35px;">
								<bean:parameter id="assured" name="assured" />
								<logic:equal name="assured" value="true">担保交易</logic:equal>
								<logic:equal name="assured" value="false">非担保交易</logic:equal>
								<html:hidden property="assured" />
							</td>
						</tr>
						<!--商品信息 -->
						<tr>
							<td align="right" height="35px;">
								商品信息：
							</td>
							<td class="fontgraydrop14" height="35px;">
								<html:hidden property="commodity" write="true" />
							</td>
						</tr>
						<!--资金用途  -->
						<tr>
							<td align="right" height="35px;">
								资金用途：
							</td>
							<td class="fontgraydrop14" height="35px;">
								<html:hidden property="purpose" write="true" />
							</td>
						</tr>
						<!--备注  -->
						<tr>
							<td align="right" height="35px;">
								备注：
							</td>
							<td class="fontgraydrop14" height="35px;">
								<html:hidden property="remark" write="true" />
							</td>
						</tr>
					</html:form>
					<tr>
						<td colspan="2" align="right">
		<table width="100%" border="0" align="center" cellpadding="7"
										cellspacing="1" bgcolor="#f9e277" style="margin:10px 0;">
										<tr>
											<td bgcolor="#fffdf5">
												<table width="100%" border="0" cellpadding="3"
													cellspacing="0">
													<tr>
														<td width="3%" height="25" valign="top"
															style="border-bottom:1px solid #ccc;"></td>
														<td width="97%" align="left" class="red12b"
															style="border-bottom:1px solid #ccc;">
															特别提醒
														</td>
													</tr>
											<tr>
												<td valign="top">
													&nbsp;
												</td>
												<td align="left" class="font_gray">
												<span class="lan">
													请确认您要发送的收款信息，
													如果正确请点击确定发送，
													需要修改请返回上一步！</span>
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				<table width="100%" height="55" border="0" cellpadding="0"
					cellspacing="0">
					<tr>
						<td align="center">
							<input type="button" name="previous" value="上一步"
								class="button_style" onclick="history.go(-1);"
								style="margin-right:10px;" />
							<input type="button" name="next" value="确 定" class="button_style"
								onclick="dosubmit();" style="margin-right:20px;" />
						</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
</div>
